package jp.beourselves.open.sample.beanio;

public class BlogInfo {
	/**
	 * エンドポイントURL
	 */
	private String endPointUrl;

	/**
	 * ユーザ名
	 */
	private String username;

	/**
	 * パスワード
	 */
	private String password;

	/**
	 * ブログID
	 */
	private int blogId;

	/**
	 * デフォルトコンストラクタ
	 */
	public BlogInfo(){}
	
	@Override
	public String toString() {
		return endPointUrl + "," + username + "," + password + "," + String.valueOf(blogId);
	}

	public String getEndPointUrl() {
		return endPointUrl;
	}

	public void setEndPointUrl(String endPointUrl) {
		this.endPointUrl = endPointUrl;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getBlogId() {
		return blogId;
	}

	public void setBlogId(int blogId) {
		this.blogId = blogId;
	}
}
